<%@ page language="java" import="java.util.*" contentType="text/html; charset=GB2312" %>



<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <title>精电产线员工上下线</title>
    <link rel="stylesheet" href="/tdg/mocks/dist/bootstrap/3.3.4/css/bootstrap.min.css">
    <link rel="stylesheet" href="./CSS/style.css">
	<script src="/tdg/mocks/dist/jquery/1.11.2/jquery.min.js"></script>
    <script src="/tdg/mocks/dist/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" media="screen" href="/tdg/mocks/dist/ionicons/2.0.1/css/ionicons.min.css">
    <style>
        body{margin: 0;padding: 0;height: 100%;}
        .mian{
            width: 100%;
            overflow: hidden;
            height: 100%;
            position: absolute;
            left: 0px;
            width: 100%;
			/* background-image: url(./img/bg.png); */
           background-image: linear-gradient(160deg, #4F77AB 20%,#008cff 80%); 
        }
        .center{
           text-align: center;
            position: absolute;
            top: 25%;
            width: 100%;

        }
        #scanQRCodeUp{
            margin: 0 auto;
            background-color: #00FF00;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 155px;
            height: 155px;
            border-radius: 50%;
            font-size: 20px;
            font-weight: bold;
            text-align: center;
            letter-spacing:10px;
			left: 0%;
           
        }
		#scanQRCodeDown{
		    margin: 0 auto;
		    background-color: #FFA500;
		    display: flex;
		    justify-content: center;
		    align-items: center;
		    width: 155px;
		    height: 155px;
		    border-radius: 50%;
		    font-size: 20px;
		    font-weight: bold;
		    text-align: center;
		    letter-spacing:10px;
		    
		}
 
    </style>
</head>
 
<body>
	<div class="proxz-nav">
		
	  <div class="proxz-nav__system">
		  
	    <li class="proxz-nav__orbit">
	      <a class="proxz-nav__satellite" href="#">
	        <span class="proxz-nav__label">轨迹 1
	        <span class="proxz-nav__description">轨迹 1 Title
	        </span>
	        </span>
	      </a>
	    </li>
	    <li class="proxz-nav__orbit">
	      <a class="proxz-nav__satellite" href="#">
	        <span class="proxz-nav__label">轨迹 2
	          <span class="proxz-nav__description">轨迹 2 Title
	          </span>
	        </span>
	      </a>
	    </li><li class="proxz-nav__orbit">
	      <a class="proxz-nav__satellite" href="#">
	        <span class="proxz-nav__label">轨迹 3
	        <span class="proxz-nav__description">轨迹 3 Title
	        </span>
	        </span>
	      </a>
	    </li>
	    <li class="proxz-nav__orbit">
	      <a class="proxz-nav__satellite" href="#">
	        <span class="proxz-nav__label">轨迹 4
	          <span class="proxz-nav__description">轨迹 4 Title
	          </span>
	        </span>
	      </a>
	    </li></li><li class="proxz-nav__orbit">
	      <a class="proxz-nav__satellite" href="#">
	        <span class="proxz-nav__label">轨迹 5
	        <span class="proxz-nav__description">轨迹 5 Title
	        </span>
	        </span>
	      </a>
	    </li>
	    <li class="proxz-nav__orbit">
	      <a class="proxz-nav__satellite" href="#">
	        <span class="proxz-nav__label">轨迹 6
	          <span class="proxz-nav__description">轨迹 6 Title
	          </span>
	        </span>
	      </a>
	    </li>
	  </div>
	  
	  <div class="hologram">
		 
	  </div>
	  
	</div>

</body>
<script type="text/javascript">
 $(document).ready(function(){
		getCode();
		
});
	
function getCode() { // 非静默授权，第一次有弹框
			var code = "";
			var local = "https://oa.tdgcore.com:8870/tdg/oa/qywx/api2/v1/callbackByCX";
			var appid = "wwf4e0e3325668447b";  //公众号里有自己查，不会找的查一下百度

			 if (code == null || code === '') { // 如果没有code，则去请求
			  window.location.href = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + appid +
				"&redirect_uri=" +
				encodeURIComponent(local) + "&response_type=code&scope=snsapi_base#wechat_redirect";
			 }
			 
		}

</script>
</html>